package com.ruoyi.local.service;

import java.util.List;
import com.ruoyi.local.domain.SysAppmenu;
import com.ruoyi.common.core.domain.Ztree;

/**
 * APP菜单权限Service接口
 * 
 * @author ruoyi
 * @date 2020-12-18
 */
public interface ISysAppmenuService 
{
    /**
     * 查询APP菜单权限
     * 
     * @param menuId APP菜单权限ID
     * @return APP菜单权限
     */
    public SysAppmenu selectSysAppmenuById(Long menuId);

    /**
     * 查询APP菜单权限列表
     * 
     * @param sysAppmenu APP菜单权限
     * @return APP菜单权限集合
     */
    public List<SysAppmenu> selectSysAppmenuList(SysAppmenu sysAppmenu);

    /**
     * 新增APP菜单权限
     * 
     * @param sysAppmenu APP菜单权限
     * @return 结果
     */
    public int insertSysAppmenu(SysAppmenu sysAppmenu);

    /**
     * 修改APP菜单权限
     * 
     * @param sysAppmenu APP菜单权限
     * @return 结果
     */
    public int updateSysAppmenu(SysAppmenu sysAppmenu);

    /**
     * 批量删除APP菜单权限
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteSysAppmenuByIds(String ids);

    /**
     * 删除APP菜单权限信息
     * 
     * @param menuId APP菜单权限ID
     * @return 结果
     */
    public int deleteSysAppmenuById(Long menuId);

    /**
     * 查询APP菜单权限树列表
     * 
     * @return 所有APP菜单权限信息
     */
    public List<Ztree> selectSysAppmenuTree();
}
